using System;
using System.Windows;
using SalesPoint.Model;
using Xtensive.Orm;

namespace SalesPoint.ViewModels
{
  public class EmployeeListViewModel : GenericListViewModel<Employee>
  {
    protected override Employee CreateItem()
    {
      return new Employee(Session);
    }

    protected override Window GetItemView()
    {
      throw new NotImplementedException();
    }

    public EmployeeListViewModel(Session session)
      : base(session, "Employees")
    {
    }
  }
}
